﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Produce.Application.DTO.Output
{
    public class WorkorderOutput
    {
        public long Id { get; set; }

        public string? Code { get; set; }

        public string? ProductionType { get; set; }

        public long? Client { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 产品主数据
        /// </summary>
        public long Masterdata { get; set; }

        public string ProductName { get; set;}

        /// <summary>
        /// 产线 （外键）
        /// </summary>
        public long? Line { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string LineName { get; set; } 

        /// <summary>
        /// 工序路线
        /// </summary>
        public long? Operation { get; set; }

        public string OperationName { get; set; }


        public string? State { get; set; }

        public string? Progress { get; set; }

        public int? ProductionCount { get; set; }

        public DateTime? BeginTime { get; set; }

        public DateTime? EndTime { get; set; }

        public string? Whether { get; set; }

        public string? Img { get; set; }

        public string? ProductionDesc { get; set; }

        public int? Input { get; set; }

        public int? Good { get; set; }

        public int? Scrap { get; set; }

        public string? Source { get; set; }

        public string? ProductionNumber { get; set; }

        public string? CreatedBy { get; set; }

        public DateTime? CreatedAt { get; set; }
    }
}
